<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>登记住户</title>
</head>
<body>
<h1>请填写以下住户信息:</h1>
<form action="AddHomeServlet"method="post" style="padding-top:-700px;">
    姓名:&nbsp;<input name="Name" type="text"><br><br>
    身份证号码:&nbsp;<input name="ID" type="text"><br><br>
    性别:&nbsp;<input type="radio" name="Sex" value="男" checked>男
             <input type="radio" name="Sex" value="女">女<br><br>
    座机电话(选填):&nbsp;<input name="HomephoneNo" type="text"><br><br>
    手机号码:&nbsp;<input name="TelephoneNo" type="text"><br><br>
    工作单位(选填):&nbsp;<input name="WorkUnit" type="text"><br><br>
    工作电话(选填):&nbsp;<input name="WorkPhone" type="text"><br><br>
    工作地点(选填):&nbsp;<input name="WorkAddress" type="text"><br><br>
    入住时间:&nbsp;<input name="CheckinTime" type="date" value="2022-01-01"><br><br>
    小区编号:&nbsp;<input name="CommunityID" type="text"><br><br>
    楼宇编号:&nbsp;<input name="BuildingID" type="text"><br><br>
    单元编号:&nbsp;<input name="ApartmentID" type="text"><br><br>
    房间编号:&nbsp;<input name="RoomID" type="text"><br><br>
    <input type="submit" value="登记">&nbsp;<input type="reset" value="重置"><br><br>
    <a href="index.jsp">返回首页</a>
</form>
</body>
</html>
